<html>
<head>
<TITLE>Marsems System</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="../css/style.css" type=text/css rel=stylesheet>
<script language="javascript" src="../js/Validation.js" type="text/JavaScript"></script>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" cellspacing="1" cellpadding="4">
  <tr> 
      <td width="10%" class="row2">Editor</td>
      <td width="20%" class="row2">Title</td>
      <td width="30%" class="row2">Content</td>
      <td width="10%" class="row2">Date</td>
      <td width="5%" class="row2">Type</td>
      <td width="10%" class="row2">I P</td>
      <td width="5%" class="row2">Status</td>
      <td width="10%" class="row2">Operation | <b><a href="listMessage_Add.php?menuGid={$menuGid}&menuid={$menuid}">Add</a></b></td>
    </tr>
	
{section name=sec loop=$arrList} 
    <tr onMouseOver="setPointer(this,2,'over');" onMouseOut="setPointer(this,2,'out');" onMouseDown="setPointer(this,2,'click')"> 
      <td><div align="left">&nbsp;{$arrList[sec].name}</td>
      <td>{$arrList[sec].title}</td>
      <td> {$arrList[sec].content}</td>
      <td>{$arrList[sec].addtime}</td>
      <td>{$arrList[sec].type}</td>
      <td>{$arrList[sec].fromip}</td>
      <td>{$arrList[sec].status}</td>
      <td>{section name=opItem loop=$arrOperateInfo}
    		{if $smarty.section.opItem.index != 0}
	    		&nbsp;&nbsp;|&nbsp;&nbsp;
    	    {/if}

    		<a href="{$selfFileName}_{$arrOperateInfo[opItem].name}.php?menuGid={$menuGid}&menuid={$menuid}&id={$arrList[sec].id}" onClick="return validDefault.isConfirmOperate('{$arrOperateInfo[opItem].name}')">{$arrOperateInfo[opItem].viewName}</a>
        
    {/section}</td>
    </tr>
	
    {section name=sec1 loop=$arrList[sec].arrReply}
	<tr onMouseOver="setPointer(this,2,'over');" onMouseOut="setPointer(this,2,'out');" onMouseDown="setPointer(this,2,'click')"> 
      <td class="replyMess"><div align="left">&nbsp;{$arrList[sec].arrReply[sec1].title}</td>
      <td class="replyMess">{$arrList[sec].arrReply[sec1].level}</td>
      <td class="replyMess"> {$arrList[sec].arrReply[sec1].messnamecn}</td>
      <td class="replyMess">{$arrList[sec].arrReply[sec1].addtime}</td>
      <td class="replyMess">{$arrList[sec].arrReply[sec1].type}</td>
      <td class="replyMess">{$arrList[sec].arrReply[sec1].fromip}</td>
      <td class="replyMess">{$arrList[sec].arrReply[sec1].status}</td>
      <td class="replyMess">
	  <a href="#" onClick="disMessage('{$arrList[sec].arrReply[sec1].id}');">{$lanquery}</a>&nbsp;
	  <a href="replyMessage.php?type=3&acceptid={$arrList[sec].arrReply[sec1].id}" target="_self">{$lanreply}</a>&nbsp;
	  <a href="listMessage.php?action=del&id={$arrList[sec].arrReply[sec1].id}" target="_self">{$delete}</a></td>
    </tr>
	{/section}
{/section} 
		<tr> 
</table>
<table width="100%" cellspacing="0" cellpadding="4">
  <tr> 
    <td align="left" width="39%">{$PAGE_BAR}</td>
    <td align="center" width="61%"></td>
  </tr>
</table>
</body>
</html>